preparatory work
Download and unzip the GCC source pack
Download a GCC source package from HTTP://FTP.GNU.ORG/GNU/GCC that you want to compile. For example, download is gcc-4.7.2.tar.bz2, and then use the input decompression command TAR-XVF
In order to install the miserable GCC under Ubuntu, the younger brother racked his brains for three days... When I figure out the dependency between the broken software m4, gmpmpfr, and NMPC, follow the strong Duniang's instructions, once installed,
20130812 wcdj)
1. Download the GCC compiler that supports C ++ 11.
Http://gcc.gnu.org/
Http://gcc.gnu.org/gcc-4.8/ (download GCC 4.8.1)
GCC 4.8.1 will BEC ++ 11 feature-complete [2013-04-01]
Support for C ++ 11
Ref-qualifiersWas
In this article about configuring the CUDA environment in Linux (see the http://www.linuxidc.com/Linux/2011-12/49874.htm), the latest CUDA version 4.1 only supports gcc4.6 or earlier, while gcc in my Fedora is 4.6.1, to this end, we need to
Installing GCC under Ubuntu is a bit different from some other Linux systems.
First, installation method one:
sudo apt-get build-dep gccMethod Two:
sudo apt-get install build-essentialAfter installation, you can perform the following commands
1. What is GCC?
In Linux, GCC (gnu c compiler) is a powerful and superior multi-platform compiler launched by GNU. It is one of the representative works of GNU. GCC can compile and execute on multiple hardware platformsProgramThe execution
Original URL:
Http://www.cnblogs.com/clark168/p/5339361.html
System environment: Amazon Linux AMI 2015.09.2 (HVM)---Fedora Server
1, download the gcc-5.3.0 installation package and put the gcc-5.3.0.tar.gz into the/OPT directory
System environment: Amazon Linux AMI 2015.09.2 (HVM)---Fedora Server1. Download the gcc-5.3.0 installation package and put the gcc-5.3.0.tar.gz into the/opt directory to extract:#sudo su#mkdir/opt/&cd/opt/#wget
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.